<template>
    <div>
        <el-container>
            <el-aside width="200px">
                <el-menu
                        router
                        :default-active="'/IcdManagement/TreeView/icd10'"
                        class="el-menu-vertical-demo"
                        @open="handleOpen"
                        @close="handleClose">
                    <el-menu-item v-for="item in $router.options.routes[4].children[0].children" :index="item.path">{{item.name}}</el-menu-item>
                </el-menu>
            </el-aside>
            <el-main>
                <router-view/>
            </el-main>
        </el-container>

    </div>

</template>

<script>
    import icd11 from '../assets/icd11.json'
    export default {
        name: "TreeView",
    }

</script>

<style scoped>

</style>